home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: AMPlifier 1.0 (18.10.2000)
- ** © 2000 by Jacob Laursen <laursen@myself.com>
- **
- ** Set up your player path below and some of these events in Amster:
- **
- ** Download finished
- ** Double-clicking library file
- ** Double-clicking download file
- ** MP3 player
- **
- ** To play the file immediately:
- ** Command: RexxC:RX Apps:Comm/Amster/Rexx/AMPlifier.rexx PLAY "%f"
- **
- ** To add the file to the playlist:
- ** Command: RexxC:RX Apps:Comm/Amster/Rexx/AMPlifier.rexx ADD "%f"
- **
- */
-
- PlayerPath = 'Apps:Sound/Players/AMPlifier/AMPlifier'
-
- /* No user-serviceable parts below */
-
- parse arg mode' 'filename
- options results
-
- if ~show('P','AMPLIFIER.1') then address command PlayerPath' 'filename
- else do
- address 'AMPLIFIER.1'
- if upper(mode) = 'PLAY' then 'PLAY 'filename
- else if upper(mode) = 'ADD' then 'ADD 'filename
- end
-